package string;

public class StringBufferTest {
    public static void main(String[] args) {
        StringBuffer sb = new StringBuffer("   abcdee  er  fe  ");
//        创建一个新数组连接到sb后
        sb.append("append_str");
        System.out.println(sb);
//        将insert_插入到字符串第三个位置后
        sb.insert(3,"insert_");
        System.out.println(sb.toString());
    }
}
